/*通用样式*/
html, body{
    height: 100%;
    background: #f4f4f4;
    background-color: #f4f4f4;
}
body{
	font:14px/1.5 "Microsoft YaHei","HanHei SC","Helvetica Neue","Open Sans",Arial,"Hiragino Sans GB","微软雅黑","STHeiti","WenQuanYi Micro Hei",SimSun,sans-serif;
	color:#333;
}
.animale{
	transition-property:all;
	transition-duration:.4s;
}
a{
	color:#333;
	transition-property:all;
	transition-duration:.4s;
}
a:hover{
	text-decoration: none;
	color: #f93d66;
}
.gray{
    color:gray;
}
ul, li{
	list-style: none;
}
*{
	padding: 0;
	margin: 0;
}
.pdt20{
	padding-top: 20px;
}
.pdt10{
	padding-top:10px;
}
.mdt20{
	margin-top:20px;
}
.bgWhite{
	background-color:#fff;
}
.hr{
	height: 1px;
    width: 100%;
    border-top: 1px solid #030303;
    background-color: #242424;
    margin: 0;
}
.twoLine{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.foreLine{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

/*文章列表*/
.articleListItem{
    width: 100%;
    display: flex;
    padding: 8px;
    margin-bottom: 20px;
    background-color:#fff;
    border-radius: 6px;
}
.smallArticle{
    margin: 0;
    height: 80px;
    box-sizing: border-box;
}
.articleListItem .articleListItemImgBox{
    width: 30%;
    max-width: 200px;
}
.articleListItem .articleListItemImgBox img{
    width: 90%;
    border-radius: 4px;
}
.articleListItem .articleListItemContent{
    width: 65%;
    flex-grow: 1;
    box-sizing: border-box;
}

.articleListItem .articleItemTit{
    font-size: 15px;
    line-height:24px;
}
.articleListItem .articleItemTime{
    font-size: 12px;
}
.articleListItem .articleItemInfo{
    margin-bottom: 10px;
}

/*顶部导航*/
#divNavBar{
    background: #ffffff;
    box-shadow: 0 0 4px rgb(0 0 0 / 20%);
}
.menuContainer{
	height: 56px;
	display: flex;
	align-items: center;
	justify-content:  space-between;
}
#divNavBar .logo{
    width:200px;
    height: 50px;
    margin-top:3px;
}
#divNavBar .navBox{
    display: flex;
    align-items: center;
}
#divNavBar {
	height: 56px;
	margin-bottom:0;
}

#divNavBar  ul{
    margin-bottom: 0;
}
#divNavBar li{
	display: block;
	float: left;
	position: relative;
}
#divNavBar li a{
	height: 100%;
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
	padding: 0 12px;
	line-height: 56px;
	transition-property:  all;
	transition-duration: .4s;
}
#divNavBar ul ul, #divNavBar ul .subnav{
	display: none;
	position:absolute;
	left: -10px;
	top:56px;
	z-index:100;
	padding: 12px;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 14px 20px 0 rgb(36 50 56 / 30%);
    border-radius: 0 0 6px 6px;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: .025em;
    transition-property:all;
	transition-duration:.4s;
}

#divNavBar ul li:hover ul, #divNavBar ul li:hover .subnav{
    display: block;
}
#divNavBar ul ul li, #divNavBar ul .subnav a{
	display: block;
	height: 30px;
	line-height: 30px;
	width: 176px;
}
#divNavBar ul ul li a,  #divNavBar ul .subnav a{
    height: auto;
    line-height: 2.2;
	padding: 0 12px;
	transition-property:  all;
	transition-duration: .4s;
}
#divNavBar .miniMenu{
    height: 56px;
    width: 50px;
    line-height: 56px;
    text-align: center;
    cursor:pointer;
}
#divNavBar  .searchIcon{
    height: 56px;
    width: 50px;
    line-height: 56px;
    text-align: center;
    cursor:pointer;
}
#divNavBar  .searchIcon:hover{
    background-color: #eaeaea;
}

/*首页*/
#home .homeContentItem{
    margin-bottom: 20px;
    border:1px solid #dedede;
    background-color:#fff;
    border-radius: 6px;
    padding: 10px 10px 5px 10px;
    
}
#home .homeContentItem .tit{
    border-bottom:1px solid #eee;
    padding-bottom:8px;
}
#home .homeContentItem .cateName{
    font-size: 18px;
}
#home .homeContentItem .more{
    font-size: 12px;
    color: #dedede;
}
#home .homeContentItem .imgBox_big{
    margin-top: 8px;
    overflow: hidden;
    width:auto;
}
#home .homeContentItem .imgBox_big img{
    width: 100%;
    height: 100%;
}
#home .homeContentItem .articleTit{
    margin-top:8px;
    height: 55px;
    
}
#home .homeContentItem .articleTit h3{
    font-size: 16px;
    line-height: 1.4;
}
#home .homeContentItem .articleTime{
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
}

/*侧边栏*/
.sidebar .card{
    margin-bottom: 20px;
}
.sidebar #divNavBar{
    display: none;
}
.sidebar #tbCalendar{
    width: 100%;
}
.sidebar #tbCalendar caption{
    display: none;
}

.sidebar #divComments li, .sidebar #divPrevious li{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.sidebar #divCatalog ul,.sidebar #divTags ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
}
.sidebar #divCatalog ul li, .sidebar #divTags ul li{
    width: 40%;
    white-space: nowrap;
	overflow: hidden;
	text-overflow:ellipsis;
}
.sidebar #divSearchPanel input[type=text]{
    width:60%;
    border-radius: 6px;
    line-height: 30px;
    padding: 0 6px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    color: #495057;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    outline: none;
}

.sidebar #divSearchPanel input[type=submit]{
    width:20%;
    text-align: center;
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
    border-radius: 6px;
    line-height: 30px;
    outline: none;
    border:none;
}

/*底部*/
.footerBox{
    background-color: #2F4056;
    color:#eee;
}
.footerBox a{
    color:#eee;
}
.footerBox .cppyRight{
    padding-top:10px;
    line-height: 1.6;
    padding-bottom: 10px;
}

/*搜索框*/
#searchModal .searchBox, #searchModal .hotSearchs{
    text-align: center;
}
#searchModal .searchBox  input[type=text]{
    width:60%;
    border-radius: 6px;
    line-height: 30px;
    padding: 0 6px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    color: #495057;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    outline: none;
}
#searchModal .searchBox  input[type=submit]{
    width:20%;
    text-align: center;
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
    border-radius: 6px;
    line-height: 30px;
    outline: none;
    border:none;
}
#searchModal .hotSearchs{
    padding-top:15px;
    padding-bottom: 25px;
}
#searchModal .hotSearchs a{
    margin: 0 5px;
}

/*面包屑导航*/
.crumb{
    padding-bottom: 15px;
    color:#333;
    font-size: 12px;
    padding-left: 10px;
}
.crumb h1{
    font-size: 14px;
    margin:0;
    padding:0;
}
.crumb h1 strong{
    color:#f93d66;
}
/*分页*/
.posts_nav_link{
	margin:15px 0;
	float:right;
}
.posts_nav_link .page{
	display: inline-block;
	margin: 0 1px;
	padding: 2px 8px;
	border:1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition-property:all;
	transition-duration:0.4s;
}
.posts_nav_link .page:hover{
	background-color: #f93d66;
	color: #fff;
	border:1px solid #f93d66;
}
.posts_nav_link .now-page{
	border:none;
	color:#f93d66;
	cursor: auto;
}
.posts_nav_link .now-page:hover{
	border:none;
	color:#f93d66;
	background-color: transparent;
}

/*文章页*/
#single .singleBox{
    background-color:#fff;
    padding: 12px;
    border-radius: 6px;
}
#single .singleBox h1{
    text-align:center;
    font-size: 20px;
    font-weight: bold;
    line-height: 2;
}
#single .singleBox .singleInfo{
    color: #999;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
    color: #666;
}
#single .singleBox .singleInfo span{
    margin-right: 10px;
}
#single .singleBox .singleInfo a{
    color: #666;
}
#single .singleBox .singleInfo a:hover{
    text-decoration: none;
	color: #f93d66;
}
#single .articleListTags{
    font-size: 13px;
    color:#666;
}
#single .articleListTags a{
    margin-left: 8px;
    color:#666;
}
#single .articleListTags a:hover{
    color: #f93d66;
}
#single .moreArticle{
    margin-top: 20px;
    background-color:#fff;
    padding:12px;
    display: flex;
    flex-wrap: wrap;
    justify-content:  space-around;
    margin-bottom: 20px;
}
#single .moreArticle .moreArticleItem{
    height: 190px;
    margin: 10px 0;
    width: 22%;
}
#single .moreArticle .moreArticleItem .moreArticleImgBox{
    width: 100%;
    height: 150px;
    overflow: hidden;
}
#single .moreArticle .moreArticleItem .moreArticleImgBox img{
    width: 100%;
    height: auto;
}
#single .moreArticle .moreArticleItem .moreArticleTitle{
    width: 100%;
    height: 40px;
}
#single .moreArticle .moreArticleItem .moreArticleTitle h2{
    line-height: 20px;
    font-size: 14px;
    font-weight: normal;
}

/*文章内容样式*/
#single .singleBox img{
	max-width: 90%;
}


/*评论*/
#postcmt .alert{
    display: none;
}
.comment{
    margin-bottom: 20px;
    background-color:#fff;
    padding:10px;
    border-radius: 6px;
}

/*
showSm  屏幕为 xs 时隐藏
showXS  屏幕为 xs 时出现
*/

/* 响应式样式 */
@media screen and (max-width:767px){
    .minibt{
        margin-bottom: 10px;
    }
    .showSm{
        display: none;
    } 

    .container-fluid{
        padding: 0;
    }
    .nav{
        position: fixed;
        z-index: 10000;
        top: 57px;
        bottom:0;
        left:0;
        right:0;
        background-color:rgba(0,0,0,.3);
    }
    .nav li{
        width:100%;
        background-color:#fff;
    }
    #divNavBar ul li:hover ul, #divNavBar ul li:hover .subnav{
    display: none;
    }
    #divNavBar ul ul li, #divNavBar ul .subnav a{
    	display: none;
    }
    #home .homeContentItem{
        margin-left:0;
        margin-right: 0;
    }
    #single .moreArticle .moreArticleItem{
        width: 30%;
        height: 110px;
    }
    #single .moreArticle .moreArticleItem .moreArticleImgBox{
        height: 70px;
    }
    #home .homeContentItem .articleTit {
        height: auto;
    }
}  
@media (min-width:768px){
    .showXS{
        display: none;
    }
}
@media (min-width:992px){
    .showXS{
        display: none;
    }
}





